testsuite: Don't destroy surfaces that are still used
authorBenjamin Otte <otte@redhat.com>
Thu, 13 Feb 2020 02:23:51 +0000 (03:23 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 13 Feb 2020 05:15:44 +0000 (06:15 +0100)
commit9d8ceb0cb2f331ec79305ec2022192714a89d783
treeead34cc00bc0b3d9662dd2479d7ee3906add0ad3
parentc313a71c3a0757d07bcf26a03236ea8cad624880
testsuite: Don't destroy surfaces that are still used

Coercing the surfaces must not unref the old surface, because the old
surface is going to be saved to a file.
testsuite/gsk/reftest-compare.c
testsuite/reftests/reftest-compare.c